#include <QtGui/QApplication>
#include "mainwindow.h"
#include <QTextCodec>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
#if defined(Q_OS_LINUX)
    QTextCodec *utfcodec = QTextCodec::codecForName("UTF-8");
#elif defined(Q_OS_WIN32)
    QTextCodec *utfcodec = QTextCodec::codecForName("UTF-8");
#endif
    QTextCodec::setCodecForTr(utfcodec);
    QTextCodec::setCodecForCStrings(utfcodec);
    MainWindow w;
    w.show();

    return a.exec();
}
